
<style>
    table{
        width: 100% !important;
    }
</style>

<table class="layui-table" lay-filter="edit-table" lay-data="{method: 'post',loading:'true', url:'{:url('Carmanage/allocation')}', page:true, id:'idDemo'}" lay-filter="test">
    <thead>
    <tr>
        <th lay-data="{field:'car_plate'}">车牌号</th>
        <th lay-data="{field:'cartype_what'}">车型</th>
        <th lay-data="{field:'store_name'}">车辆所属分公司</th>
        <th lay-data="{toolbar:'#info',width:180,}">操作</th>
    </tr>
    </thead>
</table>
<script type="text/html" id="info">

    <a class="layui-btn  layui-btn-xs  edit-table model-a" data-title="申请调拨"  href="{:url('Carmanage/applyAllocation')}?id={{d.car_id}}">申请调拨</a>

</script>